﻿using System;
using System.Collections.Generic;

namespace Bpms.Entity
{
    /// <summary>
    /// 联系人实体类
    /// </summary>
    public class ContactInfo
    {
        private int _contact_id = 0;                    // 标识ID（联系人ID）
        private string _en_name = string.Empty;         // 英文名
        private string _ch_name = string.Empty;         // 中文名
        private byte _gender = 1;                       // 性别（1：男，2：女）
        private int _customer_id = 0;                   // 所属公司（客户ID）
        private string _branch = string.Empty;          // 分公司/集团
        private string _department = string.Empty;      // 项目组/部门
        private string _edm = string.Empty;             // EDM
        private byte _status = 1;                       // 客户状态（1：在职，2：离职）
        private byte _type = 2;                         // 客户公司类型（1：甲方，2：乙方（广告、公关等））
        private byte _nationality = 1;                  // 客户联系人国籍(1：Chinese，2：Foreigner)
        private int _user_id = 0;                       // 客服人员；用户ID
        private string _telephone = string.Empty;       // 座机电话
        private string _mobile = string.Empty;          // 手机
        private string _email = string.Empty;           // E-mail
        private int _area_id = 0;                       // 所在地区ID
        private string _address = string.Empty;         // 通信地址
        private int _general_job_title_id = 0;          // 职务，通用职务ID
        private string _fax = string.Empty;             // 传真
        private string _remark = string.Empty;          // 备注
        private DateTime _add_time = new DateTime(1970,1,1);    // 添加时间
        private bool _is_delete = false;                // 是否删除（false：未删除，true：已删除）

        /// <summary>
        /// 标识ID（联系人ID）
        /// </summary>
        public int ContactID
        {
            get
            {
                return _contact_id;
            }
            set
            {
                _contact_id = value;
            }
        }

        /// <summary>
        /// 英文名
        /// </summary>
        public string EnName
        {
            get
            {
                return _en_name;
            }
            set
            {
                _en_name = value;
            }
        }

        /// <summary>
        /// 中文名
        /// </summary>
        public string ChName
        {
            get
            {
                return _ch_name;
            }
            set
            {
                _ch_name = value;
            }
        }

        /// <summary>
        /// 性别（1：男，2：女）
        /// </summary>
        public byte Gender
        {
            get
            {
                return _gender;
            }
            set
            {
                _gender = value;
            }
        }

        /// <summary>
        /// 所属公司（客户ID）
        /// </summary>
        public int CustomerID
        {
            get
            {
                return _customer_id;
            }
            set
            {
                _customer_id = value;
            }
        }

        /// <summary>
        /// 分公司/集团
        /// </summary>
        public string Branch
        {
            get
            {
                return _branch;
            }
            set
            {
                _branch = value;
            }
        }

        /// <summary>
        /// 项目组/部门
        /// </summary>
        public string Department
        {
            get
            {
                return _department;
            }
            set
            {
                _department = value;
            }
        }

        /// <summary>
        /// EDM
        /// </summary>
        public string Edm
        {
            get
            {
                return _edm;
            }
            set
            {
                _edm = value;
            }
        }

        /// <summary>
        /// 客户状态（1：在职，2：离职）
        /// </summary>
        public byte Status
        {
            get
            {
                return _status;
            }
            set
            {
                _status = value;
            }
        }

        /// <summary>
        /// 客户公司类型（1：甲方，2：乙方（广告、公关等））
        /// </summary>
        public byte Type
        {
            get
            {
                return _type;
            }
            set
            {
                _type = value;
            }
        }

        /// <summary>
        /// 客户联系人国籍(1：Chinese，2：Foreigner)
        /// </summary>
        public byte Nationality
        {
            get
            {
                return _nationality;
            }
            set
            {
                _nationality = value;
            }
        }

        /// <summary>
        /// 客服人员；用户ID
        /// </summary>
        public int UserID
        {
            get
            {
                return _user_id;
            }
            set
            {
                _user_id = value;
            }
        }

        /// <summary>
        /// 座机电话
        /// </summary>
        public string Telephone
        {
            get
            {
                return _telephone;
            }
            set
            {
                _telephone = value;
            }
        }

        /// <summary>
        /// 手机
        /// </summary>
        public string Mobile
        {
            get
            {
                return _mobile;
            }
            set
            {
                _mobile = value;
            }
        }

        /// <summary>
        /// E-mail
        /// </summary>
        public string Email
        {
            get
            {
                return _email;
            }
            set
            {
                _email = value;
            }
        }

        /// <summary>
        /// 所在地区ID
        /// </summary>
        public int AreaID
        {
            get
            {
                return _area_id;
            }
            set
            {
                _area_id = value;
            }
        }

        /// <summary>
        /// 通信地址
        /// </summary>
        public string Address
        {
            get
            {
                return _address;
            }
            set
            {
                _address = value;
            }
        }

        /// <summary>
        /// 职务，通用职务ID
        /// </summary>
        public int GeneralJobTitleID
        {
            get
            {
                return _general_job_title_id;
            }
            set
            {
                _general_job_title_id = value;
            }
        }

        /// <summary>
        /// 传真
        /// </summary>
        public string Fax
        {
            get
            {
                return _fax;
            }
            set
            {
                _fax = value;
            }
        }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark
        {
            get
            {
                return _remark;
            }
            set
            {
                _remark = value;
            }
        }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddTime
        {
            get
            {
                return _add_time;
            }
            set
            {
                _add_time = value;
            }
        }

        public bool IsDelete
        {
            get
            {
                return _is_delete;
            }
            set
            {
                _is_delete = value;
            }
        }
    }
}
